#pragma once
#include"head.h"
#include"funcs.h"

struct node {
	char nonTerminal;
	string prods;
	unordered_set<int> firstSets;
	unordered_set<int> followSets;

	node(string& rule);

	unordered_set<int>& findFirst();
	unordered_set<int>& findFollow();
};